home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 July / ENTER.ISO / files / setup_mutantstorm_demo.exe / {app} / script / level106.lua < prev    next >
Encoding:
Text File  |  2003-03-11  |  1.7 KB  |  70 lines

  1. cur_level_num = 106
  2.  
  3. dofile("everything.lua")
  4.  
  5. local path = {
  6. -42.9639,  -0.231973,  0,
  7. -39.4122,  6.06795,  0,
  8. -29.2114,  6.02699,  0,
  9. -15.1262,  5.99932,  0,
  10. -3.02944,  5.97919,  0,
  11. 13.2099,  5.95291,  0,
  12. 29.284,  5.92373,  0,
  13. 43.2456,  5.87453,  0,
  14. 46.489,  -0.618797,  0,
  15. 42.9373,  -6.9187,  0,
  16. 28.2895,  -6.86809,  0,
  17. 13.5415,  -6.84138,  0,
  18. -2.86359,  -6.81482,  0,
  19. -17.6118,  -6.79008,  0,
  20. -30.0398,  -6.76501,  0,
  21. -39.7205,  -6.7253,  0,
  22. }
  23. c_add_a_path("blocker-path", 0, 100, 100, 0, 0, 0, path)
  24.  
  25. function LEVEL_start()
  26.         ticker = 0
  27.         pylon_start("square-2",90.0)
  28.         floor_start_random()
  29.         player_start( -9.375e-005 , 0.0 , 0.0 )
  30. end
  31.  
  32. function LEVEL_gameloop()
  33.         everying_gameloop()
  34.  
  35. if ticker == 500 then
  36. actor_plopper( "chunk", 1,0,0,     34.4418,34.4418,21.6516,21.6516,    -90.0,210.0 )
  37. end
  38.  
  39. if ticker == 500 then
  40. actor_plopper( "chunk", 1,0,0,     -33.6416,-33.6416,-22.0585,-22.0585,    -90.0,210.0 )
  41. end
  42.  
  43. if ticker == 500 then
  44. actor_plopper( "chunk", 1,0,0,     34.4418,34.4418,-22.0585,-22.0585,    -90.0,210.0 )
  45. end
  46.  
  47. if ticker == 500 then
  48. actor_plopper( "chunk", 1,0,0,     -33.6416,-33.6416,21.6516,21.6516,    -90.0,210.0 )
  49. end
  50.  
  51. if ticker == 500 then
  52. actor_plopper( "blocker_red", 1,0,0,     -41.4573,-41.4573,-6.4221,-6.4221,    -179.0,0.0,    "blocker-path" )
  53. end
  54.  
  55. if ticker == 500 then
  56. actor_plopper( "blocker_red", 1,0,0,     44.7163,44.7163,5.87242,5.87242,    0.5,0.0,    "blocker-path" )
  57. end
  58.  
  59. if ticker == 900 then
  60. actor_plopper( "robot_green", 30,1,5,     -59.5378,-46.913,-29.3303,28.5187,    -90.0,0.0 )
  61. end
  62.  
  63. if ticker == 900 then
  64. actor_plopper( "robot_green", 30,1,5,     46.5443,59.1692,-29.3303,28.5187,    -90.0,0.0 )
  65. c_no_more_beasties_to_come()
  66. end
  67.  
  68. end
  69.  
  70.